﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Mysoft.MyCM.Scm
{
	public partial class Project
	{
		public Project()
		{
			Branches = new HashSet<Branch>();
			Jobs = new HashSet<Job>();
			JobHistories = new HashSet<JobHistory>();
			Tasks = new HashSet<Task>();
			TaskHistories = new HashSet<TaskHistory>();
		}

		public Guid ProjectGUID { get; set; }

		public string ProjectName { get; set; }

		public string ProductVersion { get; set; }

		public string ProductLine { get; set; }

		public Guid CustomGUID { get; set; }

		public Guid? TfsServerGUID { get; set; }

		public Guid? SrcResourceGUID { get; set; }

		public Guid? DevDBInstanceGUID { get; set; }

		public Guid? DevDBResourceGUID { get; set; }

		public Guid? WebServerGUID { get; set; }

		public int? WebStartPort { get; set; }

		public int? WebEndPort { get; set; }

		public Guid? WebResourceGUID { get; set; }

		public Guid? TestDBInstanceGUID { get; set; }

		public Guid? TestDBResourceGUID { get; set; }

		public virtual ICollection<Branch> Branches { get; set; }

		public virtual Custom Custom { get; set; }

		public virtual DBInstance DevDBInstance { get; set; }

		public virtual DBInstance TestDBInstance { get; set; }

		public virtual Server WebServer { get; set; }

		public virtual Server TfsServer { get; set; }
		public virtual ICollection<Job> Jobs { get; set; }

		public virtual ICollection<JobHistory> JobHistories { get; set; }

		public virtual Resource Resource { get; set; }

		public virtual Resource DevResource { get; set; }

		public virtual Resource TestResource { get; set; }

		public virtual Resource WebResource { get; set; }

		public virtual ICollection<Task> Tasks { get; set; }

		public virtual ICollection<TaskHistory> TaskHistories { get; set; }
	}
}
